<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="module">
    // 中断Promise链
	import Promise from "./index.js";
	new Promise(function (resolve, reject) {
		setTimeout(()=>{
			resolve(200)
		})
	}).then(value=>{
		console.log("成功回调1",value);
	}).then(value=>{
		console.log("成功回调2",value);
	}).then(value=>{
		console.log("成功回调3",value);
		return new Promise(()=>{})
	}).then(value=>{
		console.log("成功回调4",value);
	}).then(value=>{
		console.log("成功回调5",value);
	}).then(value=>{
		console.log("成功回调6",value);
	}).catch(reason=>{
		console.log("catch",reason)
    });




</script>
</html>